.order-container{
	width: 100vw;
	// height: 100vh;
}
.order-nav{
	width: 100%;
	white-space: nowrap;
	background-color: #fff;
	position: fixed;
	top: 0;
	z-index: 998;
	
	.order-nav-item{
		display: inline-block;
		padding: 0 32rpx;
		height: 90rpx;
	}
	.order-nav-item-title{
		display: block;
		height: 84rpx;
		line-height: 90rpx;
		&.active{
			border-bottom: 4rpx solid $base-color;
		}
	}
}

.order-item{
	margin: $ns-margin;
	padding: $ns-padding;
	border-radius: $ns-border-radius;
	background: #fff;
	position: relative;
	
		
	.order-header{
		display: flex;
		align-items:center;
		position: relative;
		padding-bottom: 18rpx;
		
		&.waitpay{
			padding-left: 50rpx;
			
			.iconyuan_checked,.iconyuan_checkbox{
				font-size: $ns-font-size-xx-lg;
				position: absolute;
				top: 35%;
				left: 0;
				transform: translateY(-50%);
			}
			.iconyuan_checkbox {
				color: $ns-text-color-gray;
			}
		}
		
		
		.icondianpu{
			display: inline-block;
			line-height: 1;
			margin-right: 12rpx;
			font-size: $ns-font-size-lg;
		}
		
		.status-name{
			flex: 1;
			text-align: right;
			font-size: $ns-font-size-base;
		}
	}
	
	.order-body {
		.goods-wrap {
			display: flex;
			position: relative;
			padding: 20rpx 30rpx;
			background-color: #fafafa;
			
			&:last-of-type{
				margin-bottom: 0;
			}
			
			.goods-img {
				width: 180rpx;
				height: 180rpx;
				padding: 20rpx 0 0 0;
				margin-right: 20rpx;
					
				image {
					width: 100%;
					height: 100%;
					border-radius: $ns-border-radius;
				}
			}
					
			.goods-info {
				flex: 1;
				position: relative;
				max-width: calc(100% - 200rpx);
					
				.goods-name {
					display: -webkit-box;
					-webkit-box-orient: vertical;
					-webkit-line-clamp: 2;
					overflow: hidden;
					line-height: 1.5;
					font-size: $ns-font-size-base;
					color: #000;
					margin-top: 16rpx;
				}
					
				.goods-sub-section {
					width: 100%;
					line-height: 1.3;
					display: flex;
					margin-top: 14rpx;
					
					.goods-price {
						font-size: $ns-font-size-base;
						color: #000;
					}
					.goods-num {
						font-size: $ns-font-size-base;
						color: #838383;
						margin-top: 23rpx;
					}
					.goods-type {
						font-size: $ns-font-size-base;
					}
					
					.unit {
						font-size: $ns-font-size-base;
						margin-right: 2rpx;
					}
					
					view{
						flex: 1;
						line-height: 1.3;
						display: flex;
						flex-direction: column;
						&:last-of-type{
							text-align: right;
							
							.iconfont{
								line-height: 1;
								font-size: $ns-font-size-base;
							}
						}
					}
				}
				
				.goods-operation{
					text-align: right;
				
					.operation-btn{
						line-height: 1;
						padding: 14rpx 20rpx;
						color: #333;
						display: inline-block;
						border-radius: 28rpx;
						background: #fff;
						border: 0.5px solid #999;
						font-size: $ns-font-size-base;
						margin-left: 10rpx;
					}
				}
			}
		}
	}
	
	.order-footer{
		.order-base-info {
			display: flex;
			flex-direction: column;
			
			.total{
				text-align: right;
				padding-top: 14rpx;
				padding-bottom: 12rpx;
				flex: 1;
				font-size: $ns-font-size-base;
				&.total-border{
					border-bottom: 2rpx solid #f1f1f1;
				}
				
				& > text{
					line-height: 1;
					margin-left: 10rpx;
				}
			}
			.operation{
				margin-top: 20rpx;
				display: flex;
				justify-content: flex-end;
				button{
					margin: 0;
					font-size: 24rpx;
					// pointer-events:none;
					&.active{
						background-color: $base-color;
						color: #fff;
					}
				}
			}
			
			
			.order-type{
				padding-top: 20rpx;
				flex: 0.5;
				
				& > text{
					line-height: 1;
				}
			}
		}
		
		.order-operation{
			text-align: right;
			padding-top: 20rpx;
							
			.operation-btn{
				line-height: 1;
				padding: 20rpx 26rpx;
				color: #333;
				display: inline-block;
				border-radius: 32rpx;
				background: #fff;
				border: 0.5px solid #999;
				font-size: $ns-font-size-base;
				margin-left: 10rpx;
			}
		}
	}
}